#!/bin/bash
VERSION=0.1
NAME=tea-room

IMAGE_NAME=fspub/${NAME}:${VERSION}
CONTAINER_NAME=${NAME}

docker rm -vf ${CONTAINER_NAME}

docker run --restart=always \
    -d --name ${CONTAINER_NAME} \
    -p 1884:1884 \
    --link mysql:db \
    --link picfit:picfit \
    -v /home/cuichao/IdeaProject/YunchengHospital/src/main/resources/deployment/:/root/config/ \
    -v /etc/localtime:/etc/localtime \
    ${IMAGE_NAME}